package com.zyy.middleware.exception;

import java.util.Map;

/**
 *@author zhangyangyang
 *@createTime 2023417 11:20
 *@description 通用异常类
 */

public class ServiceException extends BaseException {

    public ServiceException(ErrorCode error, Map<String, Object> data) {
        super(error, data);
    }

    public ServiceException(ErrorCode error, Throwable throwable) {
        super(error, throwable);
    }
}
